Fixed error in Activity Page