try the check before the parse