fix for auth problem