fixed config writing for nxtemu