fixed warning regarding typedef struct as well as definition of static consts inside the struct