Form inbox is not working properly