Fix bug in controller home