fix for exception in chef code