changed server to main