updating pool status
fixing compilation errors.