fix ruby haml error detection