Fixes a repeat error