fixes for redmine 2.5