making the plugin work on redmine 2.5.2