Fix bug with proc-point detection (only a temporary fix)