detective role, many fixes to bugs found on live test