change the variable type of the variable const to static const