fix all the definitions affected by defdisplay refactoring