Chain skips on 7th cog under load

Hi, my chain skips, but only in the highest gear, and only under somewhat heavy load. It had this problem when I got it, but the 7th gear at the time spun free on the freewheel, so I assumed it needed to be replaced. I Put a different on on, as well as a chain that had worn with it, but still having problems. Any ideas?