bugfix for anonymous view