Fix an form attribute error