fix compilation error, restore some deleted files