add validate delete some function