Fields are not populating properly