fixed stupid warnings at compilation