avoid warning on php