Fixed misplaced declaration