Fixed some bugs in the bloomery