fixing issue w/ access to map