Fixed ruby syntax isue