very weird out of scope issue...