How to clean up your investment portfolio before you retire