Flatten require path

Flatten require path