remove string to lower from template