fourth attempt to fix trail code