fix try getpts()