fix domain (compile errors)