There was good and bad news on worker pay in the latest small-business survey from the National Federation of Independent Business.

The percentage of companies in January reporting an increase in worker compensation climbed to 27%, the highest this cycle, and a gain of 5 points from December, the NFIB said Tuesday.

That fits with what the Labor Department said in the January payrolls report, when average hourly earnings climbed 0.5%, the best monthly gain in a year.

However, the NFIB survey said the percentage planning to raise compensation fell to 15% from 21%.

Jim O’Sullivan, chief U.S. economist at High Frequency Economics, said that suggests the gains in January pay was largely due to one-time state minimum wage hikes.

More broadly, the NFIB small-business optimism index fell 1.3 points to 93.9, mostly due to increased pessimism on the economy.