error at flushing