some bug fix and added iterations text fields
some bug fix and added iterations text fields