fixes weird shit with trade panel