Fix method signature and fix detector timing issue, fixes #150