fixed issue with making cookies