fixed the bug exit on comment line in mapfile