Fixes spacing in template