changed map corner case