rect ended