Fix haml template generation