fixed strcmp related errors