- fixed build issues caused by a type mismatch