Revert "add consts"

This reverts commit ce3b0840272477174213e62ba2426b7078ad8546.