clean the ~/.profile warning message, update #2052