changes empty comparison to any method