fixed bug with display value