repair parse of square