Fixed controller bug.