fixed bugs in url references