bug fix for recurring port number for doc download