Fixes large popup error with maps