fixing dislay error