PERI-9 comparison and rest call fix