fixes bug 947335 - bad message and redirect, r=rhelmer