bug fix for processing