fixed parameter setting and removed SITE_URL reference.