move bug strings to an enum (BugType)