fixed two minor issues