fixed weird delete errors?