fix newapplication