fixed a output errors