Fix/flush privileges