Fixed strcmp issue, thanks to Andy Igoshin