Fixed program saving