adjust check egl