improve getting format