add development mode on get_domain