fix for https://issues.infn.it/jira/browse/STOR-693
Merge pull request #9 from italiangrid/fix/STOR-693

fix for https://issues.infn.it/jira/browse/STOR-693