writing to ini
fixing conflict in main