fixed static const warnings