better error handling when vailable formats mismatch