fix plivo script when no current user