fix eclipse compilation errors