- fix a bug that accepted non-unicode base_path from config