fixed bug in variable name