case sensitive indexOf() corrected