remove read and wait