fix for redmine 2.x