Fixed viewport.id and notices.clear errors.