Quick and quirky fix of class scope issue