String.equals replaced with String.equalsIgnoreCase