error in map