bgprev fix, login shadow fix