Fixed the init of the pirmotion protocol