fixed small thing with assignment of a variable