fixed application factory