Now the attr codes will be correctly set