Fixed some bugs with the coffeepot