fixed some bugs in get_maps and _shift