fix delete_bugscache method in RefDataManager