attempt to avoid nil