bug in gate page