fix scheduler layout