make pcall loop dependent

fixes #171