fixed minelib