[Panda] Fix bugs