Took out some returns from detector

bug fix