fixed bug on naming variable