remove application factory