removing gen directory