fixed logs query
sort logs in pairing page