fixed minar bug