fixes R() functions when passing 0 or ""