Fixed complie errors for Panda