Fixes secret token not being referenced correctly.