Fix application error