Fixed a bug in new mapper loading