purchase validation errors corrected