finally fixed display code
finally fixed display code