fix broken repeat command