feature/invalid_mapping

resolve #18, resolve #19