fix dynamic require path