cleaning field validation mess, implementing record delete