removed unused globals from share module