fixed #3 of bidi package