style output and clear time on error