fixed str/int comp warnings