fixed detection of next map when not using CMT