Correcting application location