Fix errors on Application file.