validation on create and edit
cleanup