fix the output