Fixed passing of  variable