fixed ports and tests for profile