Fix overcapacity error