re-arrange the lines to avoid busybox link error