fixing issue 19: https://github.com/matthiasbock/BooleSim/issues/19