Detect if url is same as return and skip