fix compilation errors

hopefully.