fixed delete methods' return type