small fix in singlecore agent