fix undefined method '/' for 'x':String