minor fix to controller template