bugfix res tech tree