Addressed error messages

Changed 'g.application' to 'node.application' to work with new code
style