more sell error checking