fix format handling. fix #154
remove forcing a default format