fix parameter order in findAllReachableObjects