[bugfix] fix the assert_path