fix smart capture