fixed bug where show_urls decorator check will not work in python3