Ever noticed something a little odd when they rang your items up at Walgreens? Did it seem like the prices on the shelves didn't match up with what they said you owed at the register?

Well, you are not alone.

Walgreen Co. will have to pay the state of New York $500,000 overcharging customers.

The move comes after an agreement with state Attorney General Eric Schneiderman's office. Schneiderman began the probe against the company in 2014.

When consumers purchase products at retail stores in New York, they should be able to rely on the prices displayed in advertisements and on shelf tags and not have to worry about being overcharged when they get to the register.

The NY Daily News reports that Walgreens will pay the fine as well as agreeing to review all price advertisements to make sure they accurately reflect what consumers are being told.

Walgreen Co. runs hundreds of Walgreens and Duane Reade stores across New york state.