Made substeps parsing more lax for whitespace