Try to make sure M-O and M-o are bound to the ergoemacs equivalents.