fixed the coding diplaying wrong console output