fix outstanding and floating point issue in gl entry