fix string parsing as char list