fixed stupid warnings