--Fixed ruby compatibility