bug rectangle repare