fix bug of PORT is already in use