resolved variable issue