fixed equality comparison issue in `strip_null`