fixed delete methods

fixed delete methods