moved 'let stderr' into if-let statement