quick patch for raspbian, bugfixes ongoing