fix deleting lib folder