Fixed controller error