fixing ruby19 compability