invoke macro correctly
fix syntax error
fix some more syntax errors