sanitize url and stufff