removed is_string check