fix defaults in resY vs resX