update from https://bitbucket.org/haru_iida/redmine_code_review