Fixing silly initialization bug

If the int in the loop is not initialized, the app will be invisible
some times because the array boundaries are not respected.
And re-adding server as the application doesn't work without that
entitlement.