add change status and error listener