eliminate ruby warning