initialize members in the correct order

Fixes compiler warning