add some error handling when there is no subscribers