fixing annoying space in template