Fixed udentified variables, added admin notice