fix caps threshold