fix using and non member function