changed variable definition on suggestion of example42

Hi,
i tested your suggestion. It worked fine.
It looks better now.
Thank you!