fixed check-capture issue