added existspos op, and small fix