remove string extension