fix typo
Fix declaration order