OS-3587 lxbrand micro optimisation in lx_handler