piece,service,location validate error, change database models