fixed declaration mistake