fix close/open for redmine 2.3