fixed issue where notifications did not work on the hosted app.

issue where notifications were not working on the hosted version.