fix a bug for mapfile