fix order of variable declaration
Merge pull request #3 from LennyLinux/patch-1

fix order of variable declaration