fix define class without namespace