I also had the cord hanging up on me and after I got tired of it I replaced it with a 30 Amp RV Conversion Kit. Now I plug into the rear of the camper and then into power source. Very handy but now have to keep cord rolled up when not in use. The cord is 25 feet long. Got kit from Camping World for less than then a hundred bucks( on sale ) and install was easy, just follow the instructions.
This also eliminates an access point for mice and bugs to enter if the cover cap on the other access opening was left open or not closed securely.