Fixed bug on processed