Fixing wide code