fix layout order bug