fixed application initialization