Fixed ruby syntax error