added error subscriber and fixed facade