fixed the bug on incomplete mapping