physical format handling fix
physical format handling from format and type unit test