fix issue with edit forms
Merge pull request #62 from ray176/patch-2

fix issue with edit forms