fixed a bug where a new form has an empty index