put correct extension