fix for https://github.com/melezhik/cookbooks/issues/21