use the correct extension