fix comparsion of strings to not be done via "is" but rather "=="