fix Inbox controller.