finally fixed screenshoot