debug error message in start function