fixed mini-errors