sell error checking finished