have tryed to fix problem with encoder causing task drop