fixed deleting files