fixed incompatible types usage