Fix case when form.public is not available