Fix the path when the app mounted