fix alignment and 7.x xor encryption in create