remove double extension