the solution for mixjs