Small bug fix for redirect error.

Changed localization error.