Fixed error message in var initialization