error on type conversion