r2033: move initialize code for better .system compilation