Fixed PORTDIR structure, maybe