fixed the inline order issue #1