undefined property MapID workaround