fixing macro issues in gruntfile