Err fix some compilation errors