fixed initial model rendering, as well as injecting data into form dynamically