made changes inorder to work with redmine-24.2