fix broken error handler references
fix app namespace for on message