fixed compile error in BPS test