Fix "error macro requires 3 arguments" problem