fix screeenshot issue