make submitted flags nullable