trying to fix Ruby issues