move util to common