fixed undifiend var
{