trying to figure out map error