fixing delete in console