the crash has been fixed by fixing initialization order

Authored by sengels on Oct 28 2009, 11:15 AM.