cleanup browser default output code
fix curl default output