fix for https://github.com/Attnam/ivan/issues/210