fix random map order problem