spaces fix

Fix spaces in templates