Make it work for redmine 2