fixed typeerror in facetracking and adding keep alive, needs testing