Fixed display gate bugs