fixed generic form edit in crud layout