Fix application reference