Fixed syntax issues in controller so that it builds