Fixed syntax issue.
Ue correct error variable