fix direct require bug