If it's a PC you like and want to keep it in your system, wrap Teflon tape (plumber's tape) around the loose-fitting connector. Electrical tape will eventually become sticky and leave residue. I have two cables wrapped with Teflon tape and no problems.
And I agree with using a support under a cable that sags. Some cables fit tightly in the IEC but are heavy and could use a support.