Fixing the interface with panda module

as summary, please merge!