fix order of wifi setting