fix docs and numOnly parsing bug