Fix bug on wrong url