Bug fix if you re-use the instance multiple times without re-instantiating