fix: skip forloop if None