Major PHP Fix done