add some common utils