fixed handling of unsupported formats