datalayout second fix and fix attributes