fix serve executing on each task