U: perfect error check