added advertisement to maps
fixed advertisement in map class