fixed a bug of minmap not found