fix bug with the dataprocessor