moved gradientCheck in mapmenu