repair deprecated haml task