fix for bad redirect?