fixed bug on display