fix crash with wrong pointer indirection in setup.c