fixed broken auth