make sure that resolve actually found a var