Fix the declaration-after-statement error