replaced all == for all string comparing to equalsIgnoreCase