bug with format selection dialog fixed