fixed Martin's nasty multiline parse bug