new changes for bad quads