fixed binary data loading