Changed deletion method

From delete eventually to delete in backgroun