fix compilation errors :\