Make compatible with redmine 2.3

Make compatible with redmine 2.3