task queue bug repaired, seraial java part added