fixed compatibility with redmine 2.3; fixes #1