Added redirect to prevent error.