Bug fix on new iteration button

-- more bug fixes
-- fix refresh stuff