fix the bug. that remove the old loader and db.