fix type and build break