fixed variables check when unbound