prevent error with not-logged users