fix dependencies in scaffold form fields