wrong variable passed