Fixing attributes in forms