Fixed using “in” whith non iterable type