php warnings removed

some minor php warnigs removed