fix set default as last program at the beginning