added some basic, but ugly haml check