fixed missing  variable