check var used have been declared, just for Assign though