fixed mass assignment and form duplication issue