Fixed bug: switch condition for strcmp