fix for mis-spelt variable