fix foolish mistakes