fix: type coercion