fixing for redmine-2.5.2