add check for missing binary data