fix fungus production and overflowing boxes