Fixed typo, some diagnostics.