fixing @lp_active function. Needs to be in Main landing page file