pass argument from url to view
Views generally gets node id from url when url format seems to be node/nid

For your case, select 'Raw value from URL' in Provide default value section and select path component as 3 as nid lies in 3rd url arg. Your views should be getting the desired nid now.

Hope this helps you. :)