added haml detection