avoiding shipping errors