fix square matrix