Bugfix for being unauthorized