fixed bug comparing 2 strings