fixes form display on edit