fixes #305 possible to cheat the admin flag but it is ok in this scope :)