Fix type error for initial values