PHP Warning fixed