spacing issue after template work