correct the system init and draw the map