fixed rdp bug