Fixed the issue with using a variable