fix capture issue