fix bug, add move window