fix undefined method underscore (ruby method)