Mistakenly used $url instead of $1