added compatibility to redmine 2.3