fix ±1 property check