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

- cleaner code
fix for https://issues.infn.it/jira/browse/STOR-602

- cleaner code
Cosmetic fix
Merge pull request #23 from italiangrid/fix/STOR-602

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