Hotfix where wrong variables was used.