remove written twice dep