Fixing #298. it was due to a wrong add of the int and float method to the class