remove duplicate std limit + format macro defs