read whole string before parsing. Otherwise *things* happen.