fix non-moving optim, and add warnings for SEM