fix for bad redirect, or not