fixed commands out of sync