Correct export binary behaviour