fix for bad auth case