fixed null php warnings