Someone made a mistake here. If you're certain you handed a 5 and not a 50, then that's on them.
Although in the UK, not owning up to being given the incorrect change equates to theft if you are caught. If the laws are the same there, you should probably avoid the place for a while.
Alternatively, just drive through wearing this next time.