Small fix to processData