Fix syntax and indent