trying to fix bug with display values