fixed deleting on non-existing table