modify for redmine2.x