remove GTYPE check on database query, no longer used