don't remove extension if extension_id is not set