Try to fix abnormal directories