Fixing double-word error