Unnecessary parameter read during cast.
Added redirect.