deleted empty object creating bug