fix bug with ruby eval