Remove superfluous space from template