Fix bug call of requires.