fixed the value not showing up on edit page