fixed auth problem