trying to fix authorization issues