fixes issue when mounting the application at the root of an app