fix edit data input fields not showing up