Fix static const bug