fix bug on binary passport