fixed 'current scope has no parent' warning