fix tech upgrade crash