fix spout params parsing bug on some systems