RTfiltloop

fixed bug