fixed method delete