change return type of getApplicationPath