Just for the record, even though you posted a year ago:
You are wrong.
Ending a sentence, or phrase, with a "preposition" is perfectly valid.
First, when it happens the "preposition" is usually a particle, helping a nearby verb, like "put up with".
Second, you can even end a sentence...