Quick fix for using wrong variable