koa compability and issue fixing + test