forgot to replace variable after troubleshooting