rap-worker: fix variable reference