revert gem state

revert to a working state of this gem.