[processing] some code cleaning