Fix for render when @path is nil