fixed publishing array data