TFactory fix
Merge branch 'master' of https://github.com/Vatrax/PWrRepo