fix: remove local declarations