correct alignment for resources