fix "Strict Standards" php errors