fixing the const in typedef original