fixing for redmine-2.5.2
Merge pull request #4 from AntonPyrkh/master

fixing for redmine-2.5.2