client: fixed scancode method