delete all, prepare for the old api implementation