Fix the warning of the incompatible type