fix oiltype bug