Fixed multi-level mapping bug