fix bug capture screen