minor fix regarding variables