optimise
optimise and fix spawn coro