fix strcmp bug