Fixed wrong variable reference in sample code