fixed deprecation warnings
removed unused gems