fix forms permit attributes