fix initialization logic + rev LS key