fix bug alignment for struct