fix issue with edit forms