removed twoWay check for errorAttribute