fixed https://github.com/integrity-tf/integrity/issues/17