fixed validation and del but