fix WARNING's