move error message into display constants