apply to haml