hadn't set cursor correctly in post