fixing weird display