fixed trailing spaces after the getter in the default templates