fixed typo bug in variable