fixed name not defined bug