Clean up directories. --Y.Cao