fix for super functions scope