Fixing controller syntax