fixed bug in main for configure file parameter