fixes for item and gem import