add some utils for application