fix screeshot bug