revert to working  version