made inputs case insensitive