updated detector protection in scan manager. #75