fix bug affecting any domains with numbers in them

cc @justinribeiro