Fix bug with initConstant.