fix issues when build root fs