Fix bug, must check string value not array