simplify the output