smartdoc reject failing to redirect