home controller syntax error fix