hack for ruby