fixed anon user bug.