fixes contrail bug