ticket#3 Merge branch 't3_middleware_local'
to master