fixing ruby call