refine BP detection