Fix wrong variable declaration