Fixed bug in `const`-maked function parameters