bug fixed for new auth Integirity