fixed the no response issue caused by swich case sentences used on string value.