fixed compatibility with redmine 2.1.0; fixes #3