added before_destroy validation