import cleanup, make metadata actualy be loaded