updated ports and fixed errors