fixed to work with current version of anycook-core