fix weird output.