Try to remove a extention