fixed url scope issue