fixed data type problems