Fix ruby style issues