fixed 'Missing application directory.'