different rendering for error and info