PSC parsing: more robust against invalid input
prepare release