fix for issue https://issues.infn.it/jira/browse/CREAM-113