fixed again the bug with T used as TRUE in r