fixed ruby versions and minor bugs