fix yaml file listener bugs