Fixed ore dictionary use.