simply removing ````OC::$session &&```` solved th issue