clean up path to return to
remove extra gems