fixed padding for 32bit systems