fix d5f076a3
fix #1484 for slim, haml