got rid of map:at exception.