remove code to strip extension