fixing ruby