added checking to procparse calls