bug fixes to read ini file from same directory