Data type trouble solved