empty the main container