fix offer and hasPic fields