Fix for extension in url