fix for library redmine ticket 8000