fix for requirenamespace