fixed incosistency between sanitized id and non-sanitized url