I will try changing some code to haml. thanks