Trying to fix the stackoverflow on require