fix delete view