fix foolish bug