fix bug with item index form
minor changes