add flush to fix resolve existing