fixed issue/#10

add if statement in .hbs