migrating to ruby client
fixing stuff