code modification for  redmine fix