active sessions fix