minor improvement local engine