fix for when operator is null