use clear instead of clearQueue