fix compiler warning/style