app start in some curcumstances fixed
Edit patterns