updated for redmine 2.x