add cast for type incompatibility