Fix malplaced declaration