fix order by config and install for first run and next