bug fix related to urls