sets up to cache the google static maps and some corrections