fix error from extracting cookbook