remove localhost from template