made changes inorder to work with redmine-2.4.2