fixed a little bug in processing time