fixing the rst filter