Fix bug where wrong parameter was being sent in