fix application dir