fixed all php strict standard notices