fix for incorrect if / else haml syntax