Fixing register basuc layout