trim app urls