extra detetion of broken permissions to single helper, add debug output, update #2001