reverted change to get rid if isHappy error
[Correction] - missed assignment in prev update