Fixed type definition of main screen array